/* 
 *  Copyright (c) 2011—2013 Panguso.com. All rights reserved. 
 *  File Name:  DbProduct.java                                      
 *  File Contents Outline : 产品数据对象
 *  File  Create Date:   2012年7月30日
 *  File Version#: Revision#: #1                  
 *  File  Latest Modify Date : 2013年1月16日
 *  File Author :  bachuan@panguso.com
 */
package storage.dbobject;

import java.util.ArrayList;
import java.util.UUID;

public class DbProduct {
      public static final String cl_key = "KEY";
    private String rowKey;
    public static final String cl_name = "name";
    private String name;
    public static final String cl_chinese= "chinese";
    private String chinese;
    public static final String cl_updateTime = "updateTime";
    private String updateTime;
     public static final String cl_logBody = "logBody";
    private ArrayList<String> logBodyList;
public DbProduct(String rowKey,String name,String chinese,String updateTime,ArrayList<String> logBodyList){
     this.rowKey=rowKey;
     this.name=name;
     this.chinese=chinese;
     this.updateTime=updateTime;
     this.logBodyList=logBodyList;
}
public DbProduct(String name,String chinese,String updateTime,ArrayList<String> logBodyList){
        this.rowKey = UUID.randomUUID().toString();
     this.name=name;
     this.chinese=chinese;
     this.updateTime=updateTime;
       this.logBodyList=logBodyList;
}
    /**
     * @return the rowKey
     */
    public String getRowKey() {
        return rowKey;
    }

    /**
     * @param rowKey the rowKey to set
     */
    public void setRowKey(String rowKey) {
        this.rowKey = rowKey;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the chinses
     */
    public String getChinese() {
        return chinese;
    }

    /**
     * @param chinses the chinses to set
     */
    public void setChinese(String chinese) {
        this.chinese = chinese;
    }

    /**
     * @return the updateTime
     */
    public String getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime the updateTime to set
     */
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * @return the logBodyList
     */
    public ArrayList<String> getLogBodyList() {
        return logBodyList;
    }

    /**
     * @param logBodyList the logBodyList to set
     */
    public void setLogBodyList(ArrayList<String> logBodyList) {
        this.logBodyList = logBodyList;
    }

  

}
